Portable reflection for C++ with Mirror

نویسنده

  • Matúš Chochlík
چکیده

Reflection and reflective programming can be used in a broad range of tasks like implementation of serialization operations, remote procedure calls, scripting, automated user interface generation, implementation of several software design patterns, etc. C++ as one of the most prevalent programming languages however, for various reasons, lacks a standardized reflection facility. In this paper we present Mirror a portable library adding reflection to C++ with a command-line utility automating its usage. This library supports functional style static compile-time reflection and metaprogramming and also provides two different object-oriented run-time polymorphic layers for dynamic reflection.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Birefringence of interferential mirrors at normal incidence Experimental and computational study

In this paper we present a review of the existing data on interferential mirror birefringence. We also report new measurements of two sets of mirrors that confirm that mirror phase retardation per reflection decreases when mirror reflectivity increases. We finally developed a computational code to calculate the expected phase retardation per reflection as a function of the total number of layer...

متن کامل

MIFT: A Mirror Reflection Invariant Feature Descriptor

In this paper, we present a mirror reflection invariant descriptor which is inspired from SIFT. While preserving tolerance to scale, rotation and even affine transformation, the proposed descriptor, MIFT, is also invariant to mirror reflection. We analyze the structure of MIFT and show how MIFT outperforms SIFT in the context of mirror reflection while performs as well as SIFT when there is no ...

متن کامل

Effect of Mirror Therapy on Upper Limb Function: A Single Subject Study

Objectives: Mirror therapy is a unique treatment with a touch of modality that is purported to improve the motor function of the affected limb in individuals with hemiplegia. Previous studies have focused on the neuro-physiological factors underlying the mechanism of the clinical effect of this technique. The present study aims to understand the mechanism using the rehabilitation method and neu...

متن کامل

Specular reflection of matter waves from a rough mirror.

We present a high resolution study of the specularity of the atomic reflection from an evanescent wave mirror using velocity selective Raman transitions. We observed a double structure in the velocity distribution after reflection: a peak consistent with specular reflection and a diffuse reflection pedestal whose contribution decreases rapidly with increasing detuning. The diffuse reflection is...

متن کامل

Forward Mapped Planar Mirror Reflections

This paper presents a new technique, which we call depth-preserving reflection mapping, to render mirror-like reflections on planar surfaces in constant time. It is a hybrid solution which combines geometry-based rendering and imagebased rendering into a two-pass mirror reflection rendering approach. The technique extends the traditional reflection mapping to preserve depth per texel and uses f...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012